import request from "../utils/request";

function addItem(data){
    return request({
        url:'/api/add',
        method:'post',
        data
    })
    
}
function deleteItem(data){
    return require({
        url:'/api/delete',
        method:'post',
        data
    })
}
export {
    addItem,
    deleteItem
}